package com.chinasoft.ui;

import javax.swing.*;
import java.awt.*;

/**
 * @author 中软zhang
 * @create 2023-07-24 16:28
 */
public class TestWindow {
    public static void main(String[] args) throws Exception {
        JFrame frame = new JFrame("this is first windows");
        frame.setLocation(100, 100);
        frame.setSize(815, 655);
        frame.setTitle("骑士夺宝");
        frame.setIconImage(Toolkit.getDefaultToolkit().getImage(TestWindow.class.getResource("/image/person01.png")));
        frame.setVisible(true);
    }
}
